package com.media.api;

import com.base.model.R;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: Lenovo
 * @Description: TODO
 * @DateTime: 2023/9/14 15:17
 **/
@RestController
@Api(tags = "点赞接口")
@RequestMapping("/like")
public class LikeController {

    @Autowired
    private RedisTemplate redisTemplate;

    private static final String VIDEO_PRE="LIKE_VIDEO_";

//    @PostMapping("/favorites/{videoId}")
//    public R<String>favoritesVideo(@PathVariable String videoId){
//
//    }

}